package com.jun.service;

import com.jun.entity.MemberConsume;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface MemberConsumeService {
    int insertMemberConsume(MemberConsume memberConsume);   //插入一条会员消费记录
    String searchOneDayConsume(String time);  //查询指定日期的会员收益
    String searchConsumeByInterval(Map<String,Object> map);  //根据时间间隔来查询会员收益
}
